home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1995 November / Macworld Nov ’95.toast / Developers / Flex 2.5.2 / flex-2.5.2 / sys⁄types.h < prev    next >
Encoding:
Text File  |  1995-06-30  |  867 b   |  34 lines  |  [TEXT/MPS ]

  1. /***
  2.  *
  3.  *    Updated: by Christopher E. Hyde, 95-06-30
  4.  *
  5.  ***/
  6.  
  7. #ifndef _TYPES_H_
  8. #define    _TYPES_H_
  9.  
  10. typedef    unsigned char    u_char;
  11. typedef    unsigned short    u_short;
  12. typedef    unsigned int    u_int;
  13. typedef    unsigned long    u_long;
  14. typedef    unsigned short    ushort;        // Sys V compatibility
  15.  
  16. typedef    char*    caddr_t;        // core address
  17. typedef    long    daddr_t;        // disk address
  18. typedef    short    dev_t;            // device number
  19. typedef    u_long    ino_t;            // inode number
  20. typedef    long    off_t;            // file offset (should be a quad)
  21. typedef    u_short    nlink_t;        // link count
  22. typedef    long    swblk_t;        // swap offset
  23. typedef    long    segsz_t;        // segment size
  24. typedef    u_short    uid_t;            // user id
  25. typedef    u_short    gid_t;            // group id
  26. typedef    short    pid_t;            // process id
  27. typedef    u_short    mode_t;            // permissions
  28. typedef    u_long    fixpt_t;        // fixed point number
  29.  
  30. #include <stdlib.h>
  31. #include <time.h>
  32.  
  33. #endif // !_TYPES_H_
  34.